package com.xinsoft.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinsoft.entity.dto.ScmMaterialReturnApplyParam;
import com.xinsoft.entity.po.ScmMaterialReturnApply;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinsoft.entity.vo.ScmMaterialReturnApplyDetailVo;
import com.xinsoft.entity.vo.ScmMaterialReturnApplyPageVo;
import com.xinsoft.entity.vo.ScmMaterialReturnApplyVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author ZYM
* @description 针对表【scm_material_return_apply(退料申请)】的数据库操作Mapper
* @createDate 2023-09-26 13:27:58
* @Entity com.xinsoft.entity.po.ScmMaterialReturnApply
*/
public interface ScmMaterialReturnApplyMapper extends BaseMapper<ScmMaterialReturnApply> {

    IPage<ScmMaterialReturnApplyPageVo> findListByParam(Page<ScmMaterialReturnApplyPageVo> page, @Param("param") ScmMaterialReturnApplyParam param);
    List<ScmMaterialReturnApplyPageVo> findListByParam(@Param("param") ScmMaterialReturnApplyParam param);

    ScmMaterialReturnApplyDetailVo getById(Integer id);

    IPage<ScmMaterialReturnApplyVo> headList(Page<ScmMaterialReturnApplyVo> page, @Param("param") ScmMaterialReturnApplyParam param);
}




